import request from '@/utils/request'

// 查询国际化语言列表
export function listLanguage(query) {
  return request({
    url: '/ems/language/list',
    method: 'get',
    params: query
  })
}

// 新增国际化语言
export function addLanguage(data,type,property,objId) {
  return request({
    url: `/ems/language?type=${type}&property=${property}&objId=${objId}`,
    method: 'post',
    data: data
  })
}
